home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / HAMRADIO / WHERITIS.ZIP / WHERITIS.TXT < prev   
Text File  |  1987-11-29  |  11KB  |  279 lines

  1.  
  2.                           WHERITIS V 1.0
  3.  
  4.                    Copyright 1987 by Dennis Hevener, 
  5.                                      Personal Database Applications
  6.                                      2634 Meadow Bend Court
  7.                                      Duluth, GA  30136-6037
  8.  
  9.  
  10. WHERITIS will calculate the distance and direction between any two 
  11. points on earth. It was written to test subroutines for  ham radio 
  12. AND SWL logging database systems.
  13.  
  14. When  you run WHERITIS,  you will be asked for your  latitude  and 
  15. longitude. Latitude is the measure of distance a point is from the 
  16. equator.  Points  north of the equator are expressed  in  positive 
  17. degree  values,  and points south of the equator are expressed  in 
  18. negative degree values.  The equator is 0 degrees,  the north pole 
  19. is 90 degrees, and the south pole is -90 degrees.
  20.  
  21. Longitude is a measure of how far from the Prime Meridian a  point 
  22. is.  The prime meridian is an imaginary line running from pole  to 
  23. pole,  passing thru Greenwich,  England.  Points east of the prime 
  24. meridian,  between the prime meridian and halfway around the earth 
  25. are  measured from 0 thru 180 degrees.  Points west of  the  prime 
  26. meridian,  between the prime meridian and halfway around the earth 
  27. may be measured in two ways:
  28.  
  29. *in negative degree values ranging from 0 to -180 degrees. This is 
  30. referred to as WEST longitude, since it measures the distance west 
  31. of the prime meridian.
  32.  
  33. *in positive degree values ranging from 360 to 180  degrees.  This 
  34. is referred to as EAST longitude,  since it measures distance EAST 
  35. of the prime meridian.
  36.  
  37. To illustrate,  the state of Alabama  is roughly three-quarters of 
  38. the way around the earth going east from the prime  meridian,  and 
  39. therefore  one-forth of the way around going west from  the  prime 
  40. meridian.  Alabama's  longitude  may be expressed  as  either  -90 
  41. degrees or 270 degrees.
  42.  
  43. If  all this is too confusing to understand,  just  remember  this 
  44. simple rule:
  45.  
  46. *points  in the Western hemisphere,  (where North & South  America 
  47. are),  must  be  either  a negative number or  a  positive  number 
  48. greater than 180. Many maps give latitudes in West longitude (0 to 
  49. -180),  but  leave  off the negative  sign.   When  entering  data 
  50. derived from these maps, be sure to enter them as negative numbers.
  51.  
  52. Ok,  let's  try out WherItIs.   Enter your latitude.   It  may  be 
  53. entered  in  decimal degrees (for instance 28.5)  or  in  degrees, 
  54. minutes,  and seconds.  Enter separate the degrees,  minutes,  and 
  55. seconds with a space.  You may leave off the minutes or seconds if 
  56. they are zero.  28 degrees 30 minutes 0 seconds may be entered  as 
  57. 28 30 0 or 28 30 or 28.5.
  58.  
  59. If you are using degree-minute-second format for input,  and  want 
  60. to  enter a negative value and the degree is 0,  you must put  the 
  61. minus sign before the minute. For instance, 0 -30 15.  If both the 
  62. degree  and minute are 0,  you must put the minus sign before  the 
  63. seconds, like 0 0 -28.
  64.  
  65. Next  you will be asked for your longitude.  It may be entered  in 
  66. east  or west longitude,  and in decimal  or  degree-minute-second 
  67. format.
  68.  
  69. After  entering  your  location,   you  will  be  asked  for   the 
  70. coordinates of a location to find distance and direction to. Enter 
  71. these coordinates as you did your own.
  72.  
  73. The following information will be displayed:
  74.  
  75. *direction in degrees. (0 is north, 90 is east, etc.) 
  76. *distance in miles 
  77. *distance in kilometers 
  78. *location there in decimal degree format 
  79. *location there in degree, minute, second format 
  80. *gridsquare of location there (Gridsquares is another 
  81.  method of defining a point on earth, used primarily by 
  82.  ham radio operators).
  83.  
  84. The  longitude  for  the decimal degree  coordinates  is  in  east 
  85. longitude,   and   the  longitude  for  the   degree-minute-second 
  86. coordinates   is  in  west  longitude.   These   coordinates   are 
  87. equivalent.
  88.  
  89. After   the  program  has  calculated  and   displayed   distance, 
  90. direction,  and the various ways to express the THERE location, it 
  91. will   re-prompt  for  THERE  coordinates.    To   re-enter   YOUR 
  92. coordinates, enter "REDO" for LATITUDE THERE. To exit the program, 
  93. enter "QUIT" for LATITUDE THERE.
  94.  
  95. WherItIs  was  written  in Megamax C on the  Atari  ST.   The  IBM 
  96. version was compiled with Borland Turbo C.   A version for the HP-
  97. 3000 compiled with CCSC C is also available.   Please contact  PDA 
  98. if  you want the HP-3000 version.   A talking version is  included 
  99. with the Atari version. See notes for installation.
  100.  
  101. FEATURES OF PDA HAM RADIO LOGGING SYSTEM:
  102.  
  103. A  comprehensive  ham  radio logging program  is  currently  under 
  104. devlopment for the Atari ST and IBM PC.  Here is a list of planned 
  105. features:
  106.  
  107. *automatic calculation and display of direction and distance based 
  108. on call sign prefix or state.
  109.  
  110. *automatic logging of country based on call sign prefix.
  111.  
  112. *user-definable band limits with out-of-band warning.
  113.  
  114. *user-definable edits for mode.
  115.  
  116. *contesting system with user-definable dupe criteria.
  117.  
  118. *automatic logging of time and date.
  119.  
  120. *automatic  logging  of  frequency  and mode  with  Icom  735  and 
  121. possibly other radios.
  122.  
  123. *keypad frequency input for Icom 735 and possibly other radios.
  124.  
  125. And like all other PDA database products, will feature:
  126.  
  127. *ease of use.
  128.  
  129. *convenient on-line inquiry on any field.
  130.  
  131. *most field sizes user-definable.
  132.  
  133. *easy import-export of data to/from other programs.
  134.  
  135. *capacity limited only by disk size.
  136.  
  137. *extensive on-line help.
  138.  
  139. *extensive reporting facilities.
  140.  
  141. *Atari ST version uses GEM.
  142.  
  143. LICENSE  INFORMATION:  This product may be freely distributed  for 
  144. individual  use provided this documentation and  all  accompanying 
  145. advertising and other files are included in the distribution file.  
  146. These files may not be changed in any way. Users may add their own 
  147. comments  in  a  separate  file,  provided  the  file  contains  a 
  148. statement that it is not provided or sanctioned by PDA.
  149.  
  150. This  product may not be distributed with any commercial  product, 
  151. nor  may  it be sold or used in a commercial  environment  without 
  152. written permission from PDA. Dennis Hevener retains full rights to 
  153. this  and  future  versions  of  this  application.
  154.  
  155. Atari is a trademark of the Atari Corporation.  GEM is a trademark 
  156. of Digital research.  IBM is a trademark of International Business 
  157. Machines. 
  158.  
  159. This product carries no warranty,  and PDA shall not be liable for 
  160. any damage resulting from use of this product.
  161.  
  162. NOTES:
  163.  
  164. The  Atari ST  version  will TELL you the distance and  direction. 
  165. Make  sure your monitor's volume is turned  up.  More  interesting 
  166. than  useful,   but  fun  nonetheless.   Locate  version  2.0   of 
  167. STSPEECH.TOS  in one of three places on the same drive frow  which 
  168. you are running WherItIs:
  169.  
  170.    *in the same directory as whertalk,
  171.    *in the root directory,
  172.    *or in an \etc directory.
  173.  
  174. That's all there is to it!   If WherItIs cannot find STSpeech.tos, 
  175. it will still  function--it simply won't talk.
  176.  
  177. Here are some latitudes and longitudes to try out with WHERITIS.
  178.  
  179.  CITY         LATITUDE  LONGITUDE (E)
  180.  
  181. ACAPULCO       16.90      260.10 
  182. ACCRA           5.60      359.75 
  183. ADDIS ABABA     9.05       38.70 
  184. ALGIERS        36.50        3.00 
  185. ARCHANGEL      64.50       40.70 
  186. ATHENS         38.00       23.70 
  187. ATLANTA        33.75      275.60 
  188. AUCKLAND      -36.90      174.80 
  189. AUSTIN,TX      30.30      262.20 
  190. AZORES         38.50      332.00 
  191. B. ARIES      -34.70      301.50 
  192. BAGHDAD        33.30       44.40 
  193. BAKER IS.        .23      183.50 
  194. BERLIN         52.50       13.40 
  195. BERMUDA        32.30      295.20 
  196. BOGOTA          4.63      285.90 
  197. BOMBAY         18.90       72.90 
  198. BONN           50.70        7.10 
  199. BOSTON         42.30      288.90 
  200. BRASILIA      -16.20      315.50 
  201. BRISBANE      -27.50      153.00 
  202. BUDAPEST       47.50       19.10 
  203. CAIRO          30.10       31.30 
  204. CANARY IS.     28.50      344.80 
  205. CARACAS        10.60      293.10 
  206. CASABLANCA     33.40      352.42 
  207. CHRISTCHURCH  -43.50      172.70 
  208. COLOMBO         6.92       79.90 
  209. CONCEPCION    -36.80      286.90 
  210. COOK IS.      -21.00      158.00 
  211. COSTA RICA      9.98      275.90 
  212. DENVER         39.70      255.00 
  213. DETROIT        42.30      277.00 
  214. FAIRBANKS      64.80      212.20 
  215. GILBERT IS       .25      176.00 
  216. GUATEMALA      14.60      269.60 
  217. HAVANA         23.10      277.60 
  218. HELSINKI       60.10       25.00 
  219. HONG KONG      22.00      115.00 
  220. HONOLULU       21.30      202.20 
  221. ISTANBUL       41.00       29.00 
  222. JAN MAYEN      70.20      351.00 
  223. JERUSALEM      31.80       35.20 
  224. JUNEAU         58.30      225.70 
  225. KHARTOUM       15.60       32.60 
  226. KINGSTON       18.00      283.20 
  227. LAGOS           6.50        3.50 
  228. LENINGRAD      59.90       30.40 
  229. LIMA          -12.10      282.90 
  230. LISBON         38.70      350.90 
  231. LONDON         51.50         .17 
  232. LOS ANGELES    34.00      241.70 
  233. LUANDA         -8.83       13.30 
  234. MADRAS         13.10       80.30 
  235. MADRID         40.40      356.28 
  236. MALTA          36.00       14.00 
  237. MANILA         14.50      121.00 
  238. MARSHALLS      10.00      170.00 
  239. MELBOURNE     -37.80      145.00 
  240. MEXICO CITY    19.40      260.80 
  241. MIAMI          25.80      279.70 
  242. MONTEVIDEO    -33.90      303.80 
  243. MOSCOW         55.75       37.58 
  244. NAGASAKI       32.80      129.90 
  245. NAIROBI        -1.30       36.80 
  246. NEW YORK       40.70      286.20 
  247. PARIS          48.90        2.30 
  248. PEKING         39.90      116.40 
  249. PERTH         -32.00      115.80 
  250. PITCAIRN IS   -25.10      230.00 
  251. PRAGUE         50.10       14.40 
  252. PT MORESBY      9.50      147.10 
  253. PUERTO RICO    18.50      294.00 
  254. QUITO           -.23      281.50 
  255. RANGOON        16.80       96.20 
  256. REYKJAVIK      64.20      338.00 
  257. RIYADH         24.70       46.80 
  258. SAIGON         10.80      106.70 
  259. SAMOA         -13.00      170.00 
  260. SAN FRANCISCO  37.80      237.50 
  261. SEATTLE        47.60      237.70 
  262. SEOUL          37.50      127.00 
  263. SINGAPORE       1.30      104.00 
  264. ST. JOHN'S     47.50      307.30 
  265. ST. LOUIS      38.70      269.70 
  266. SYDNEY        -33.90      151.20 
  267. TAIPEI         29.10      117.60 
  268. TASHKENT       41.30       69.20 
  269. TEHRAN         35.70       51.40 
  270. THULE          77.50      290.70 
  271. TOKYO          35.70      139.80 
  272. TORONTO        43.70      280.60 
  273. VANCOUVER      49.20      237.00 
  274. VLADIVOSTOCK   43.00      131.80 
  275. VOLGOGRAD      48.80       44.50 
  276. WARSAW         52.30       21.00 
  277. WASHINGTON     38.90      283.00 
  278. WINNEPEG       49.90      262.80 
  279.